package com.itheima.Homework.Demo2;

public class MyThread extends Thread{

    @Override
    public void run() {
        for (int i = 1; i < 1001; i++) {
            System.out.println(i);

        }

    }
}
